package net.learn.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import net.learn.system.entity.SysCheckBoxDetailEntity;
import net.learn.system.entity.SysCheckBoxEntity;
import net.learn.system.entity.SysJudgeDetailEntity;
import net.learn.system.query.SysJudgeDetailQuery;
import net.learn.system.vo.SysJudgeDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-01-11
 */
@Mapper
public interface SysJudgeDetailDao extends BaseMapper<SysJudgeDetailEntity> {

    IPage<SysJudgeDetailEntity> qryJudgeDetailListPage(IPage<SysJudgeDetailEntity> page, @Param("SysJudgeDetailQuery") SysJudgeDetailQuery qry);

    List<SysJudgeDetailVO> qryPaperJudgeList(@Param("SysJudgeDetailQuery") SysJudgeDetailQuery qry);

    List<SysJudgeDetailVO> getJudgeDetailArray();

    List<SysJudgeDetailVO> qryPaperJudgeCondition(@Param("SysJudgeDetailQuery") SysJudgeDetailQuery qry);
}
